//package com.rp.api.article;
//
//import com.rp.news.common.Result;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import javax.servlet.http.HttpServletRequest;
//
//@Api(value = "门户文章业务controller",tags = {"门户文章业务controller"})
//@RequestMapping("portal/article")
//public interface ArticlePortalControllerApi {
//
//    @GetMapping("/list")
//    @ApiOperation(value = "管理员查询用户的所有文章列表",notes = "管理员查询用户的所有文章列表",httpMethod = "GET")
//    Result queryAllList(
//            @RequestParam String keyword,
//            @RequestParam Integer category,
//            @RequestParam Integer page,
//            @RequestParam Integer pageSize
//    );
//
//
//    @GetMapping("/hotList")
//    @ApiOperation(value = "首页查询热闻列表",notes = "首页查询热闻列表",httpMethod = "GET")
//    Result hotList(
//    );
//
//
//    @GetMapping("/queryArticlListOfWriter")
//    @ApiOperation(value = "查询作家发布的所有文章列表",notes = "查询作家发布的所有文章列表",httpMethod = "GET")
//    Result queryArticlListOfWriter(
//            @RequestParam String writerId,
//            @RequestParam Integer page,
//            @RequestParam Integer pageSize
//    );
//
//
//    @GetMapping("/queryGoodArticlListOfWriter")
//    @ApiOperation(value = "作家页面查询近期佳文",notes = "作家页面查询近期佳文",httpMethod = "GET")
//    Result queryGoodArticlListOfWriter(
//            @RequestParam String writerId
//    );
//
//    @GetMapping("/detail")
//    @ApiOperation(value = "文章详情查询",notes = "文章详情查询",httpMethod = "GET")
//    Result detail(
//            @RequestParam String articleId
//    );
//
//    @PostMapping("/readArticle")
//    @ApiOperation(value = "阅读文章,文章阅读累加1",notes = "阅读文章,文章阅读累加1",httpMethod = "POST")
//    Result readArticle(@RequestParam String articleId, HttpServletRequest request);
//
//    @GetMapping("/readCounts")
//    @ApiOperation(value = "获取文章阅读数",notes = "获取文章阅读数",httpMethod = "GET")
//    Integer readCounts(@RequestParam String articleId);
//
//
//}
